import ajax from '../util/request'
// 获取列表
export const getList = (params) => ajax({
    method:'get',
    url:'orders',
    params,
    headtype:'form'
})
// 定位
export const getdingwei = () => ajax({
    method:'get',
    url:'/kuaidi/1106975712662',
    params:{},
    headtype:'form'
})

// 修改
export const xgOrder = (id,params) => ajax({
    method:'put',
    url:'/orders/'+id,
    params,
    headtype:'form'
})